code_checker.logger

Members

Enums

VerboseMode
enum VerboseMode

The verbosity level of the logging to use.

Meta

Authors

Joakim Brännström (joakim.brannstrom@gmx.com)

This Source Code Form is subject to the terms of the Mozilla Public License, v.2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

Handles console logging in pretty colors.

The module disables colors when stdout and stderr isn't a TTY that support colors. This is to avoid ASCII escape sequences in piped output.

Credit goes to the developers of Dub. A significant part of the color handling is copied from that project.

License

MPL-2